import http from '../utils/http.js'

export const getMarketWorksPage = (params) => {
  return http.post('/works/getMarketWorksPage', params)
}

export const getboxMarketPage = (params) => {
  return http.post('/box/boxMarketPage', params)
}

export const getMarketCondition = (productType) => {
  return http.get(`/works/getMarketCondition/${productType}`)
}

export const selectCategoryListForApp = () => {
  return http.get('/category/selectCategoryListForApp')
}
